.photoList ul.list {
    overflow: hidden;
}

.photoList .list li {
    float: left;
    display: inline;
    width: 158px;
    height: 204px;
    text-align: center;
    padding: 12px 0 0;
    margin: 0 18px;
    overflow: hidden;
}

.photoList .list li:hover {
    width: 158px;
    height: 201px;
    border: 1px solid #ebebeb;
    border-bottom: 3px solid #ebebeb;
    border-right: 3px solid #ebebeb;
    border-radius: 5px;
    padding-top: 11px;
    cursor: pointer;
}